﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeEdu.Entity
{
    /// <summary>
    /// 试题实体类
    /// </summary>
    public class Questions:BaseEntity
    {
        /// <summary>
        /// 课程ID
        /// </summary>
		public int CourseId { get; set; }

        /// <summary>
        /// 课时ID(没有选择默认为0)
        /// </summary>
		public int ClassHourId { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public int UserId { get; set; }
		/// <summary>
		/// 题目
		/// </summary>

		public string Title { get; set; }

        /// <summary>
        /// 题目类型(1-单选,2-多选,3-填空,4-判断,5-问答,6-资料)
        /// </summary>
        public QuestionType Type { get; set; }

        /// <summary>
        /// 选项-Json格式
        /// </summary>
		public string Options { get; set; }
		/// <summary>
		/// 答案
		/// </summary>
		public string Answer { get; set; }
		/// <summary>
		/// 解析
		/// </summary>
		public string Analysis { get; set; }
		/// <summary>
		/// 难度（1-初级，2-中级，3-高级）
		/// </summary>
        public int Difficulty { get; set; }
		/// <summary>
		/// 分值
		/// </summary>
		public int Score { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 编辑时间
		/// </summary>
        public DateTime EditTime { get; set; }
		
    }
}